<?php

	echo $session -> flash('auth');

	/** Formulario **/
	echo $this -> Html -> css('formularios', null, array("inline" => false));
	echo $this -> Form -> create('Usuario', array('action' => 'login', 'class' => 'formulario'));
	echo $this -> Form -> input('username', array('label' => 'Nombre de Usuario'));
	echo $this -> Form -> input('password', array('label' => 'Contraseña', 'type' => 'password'));
	echo '<div>';
	// botones
	echo $this -> Form -> submit('Entrar', array('div' => false));
	echo '&nbsp;';
	// separador
	echo '&nbsp;';
	// separador
	echo $this -> Html -> link('Crear Usuario', array('action' => 'registrar'));
	echo '</div>';
	// fin botones
	echo $this -> Form -> end();
?>
